package com.glodon.paas.job.agent.worker;

import java.util.Map;

import com.glodon.paas.job.model.Task;

public interface Worker {
    void cancel() throws WorkerException;

    Map work(Task task) throws WorkerException;
}
